<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form class="layui-form" action="save" method="post" style="padding-top:20px;padding-right: 100px;" lay-filter="stuform">
		<div class="layui-form-item">
    		<label class="layui-form-label">用户名</label>
    		<div class="layui-input-block">
      			<input type="text" name="username" value="${model.username}"  autocomplete="off" placeholder="请输入学号" class="layui-input">
    		</div>
  		</div>
		<div class="layui-form-item">
    		<label class="layui-form-label">姓名</label>
    		<div class="layui-input-block">
      			<input type="text" name="name" value="${model.name}"  autocomplete="off" placeholder="请输入姓名" class="layui-input">
    		</div>
  		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">性别</label>
			<div class="layui-input-block">
				<select name="sex">
					<option value="男"  <c:if test="${model.sex=='男'}">selected</c:if>>男</option>
					<option value="女"  <c:if test="${model.sex=='女'}">selected</c:if>>女</option>
				</select>
			</div>
		</div>
		<div class="layui-form-item">
    		<label class="layui-form-label">地址</label>
    		<div class="layui-input-block">
      			<input type="text" name="address" value="${model.address}"  autocomplete="off" placeholder="请输入职务" class="layui-input">
    		</div>
  		</div>
		<div class="layui-form-item">
    		<label class="layui-form-label">电话号码</label>
    		<div class="layui-input-block">
      			<input type="text" name="phone" value="${model.phone}"  autocomplete="off" placeholder="请输入职务" class="layui-input">
    		</div>
  		</div>
		<div class="layui-form-item">
    		<label class="layui-form-label">工作单位</label>
    		<div class="layui-input-block">
      			<input type="text" name="workUnit" value="${model.workUnit}"  autocomplete="off" placeholder="请输入职务" class="layui-input">
    		</div>
  		</div>
	</form>
<script type="text/javascript">
	form=layui.form;
	form.render('select');
</script>
</body>
</html>